package com.tbit.uqbike.webmanager.dao.log;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tbit.config.datasource.DataSource;
import com.tbit.uqbike.object.pojo.dto.ClubRecordDTO;
import com.tbit.uqbike.object.pojo.vo.VipGiveLog;

import java.util.List;

/**
 * 会员卡赠送日志
 *
 * @Author LHX
 * @ClassName VipGiveLogDao
 * @Description
 * @date 2023/3/22 15:22
 * @Version 1.0
 */
@DS(DataSource.LOG)
public interface VipGiveLogDao extends BaseMapper<VipGiveLog> {

    List<VipGiveLog> queryVipGiveLog(ClubRecordDTO clubRecordDTO);

    int queryVipGiveLogCount(ClubRecordDTO clubRecordDTO);

    /**
     * 批量赠送会员卡日志插入
     *
     * @param vipGiveLogList
     */
    void insertByList(List<VipGiveLog> vipGiveLogList);
}
